<?php
require_once './model/testimonials.php';
$obj_testimonials=new Testimonials();
$params=array('limit'=>3);
$testimonials=$obj_testimonials->select($params);
?>
<div id="col-right">
    <div class="testimonials-item">
        <h4><span>Testimonials</span></h4>
<?php foreach ($testimonials as $testimonial):?>
        <div class="box">

            <div class="col-right-img"><img src="<?php echo PATH_TESTIMONIALS_IMAGE.$testimonial['thumb'];?>" width="65" height="65" alt=""></div>
            <div class="col-right-text">

                <p><?php echo $testimonial['description'];?></p>
                <p class="high smaller">– <cite><?php echo $testimonial['author'];?></cite></p>

            </div> <!-- /col-right-text -->

        </div> <!-- /box -->
        <?php endforeach;?>
    </div>
</div>